package com.itita.ww2.game.alliance.event;

import com.itita.ww2.game.enums.StateEnum;
import com.itita.ww2.model.user.UserProfile;
import com.itita.ww2.puredb.model.Alliance;
import com.itita.ww2.puredb.model.AllianceMember;

/**
 * 联盟转让监听器
 * @author NorthLan
 *
 */
public interface IAllianceTranferListener {
	/**
	 * 转换时监听,有三种状态
	 * @param source 转换者
	 * @param target 转换目标
	 * @param sourceMember 转换者联盟信息
	 * @param targetMember 转换目标联盟信息
	 * @param alliance 联盟
	 * @param state 状态
	 */
	public void onAllianceTransfer(UserProfile source, UserProfile target, AllianceMember sourceMember,
			AllianceMember targetMember, Alliance alliance, StateEnum state);
}
